package com.glacier.cloud.order.remote.fallback;

import com.glacier.cloud.order.entity.dto.cmd.ProductStockLockCmd;
import com.glacier.cloud.order.remote.ProductClientService;
import com.glacier.framework.component.dto.response.Response;
import org.springframework.stereotype.Component;

/**
 * date 2024-01-04 17:17
 *
 * @author glacier
 * @version 1.0
 */
@Component
public class ProductClientServiceFallback implements ProductClientService {
    @Override
    public Response<Integer> lockStock(ProductStockLockCmd productStockLockCmd) {
        return Response.success(0);
    }
}
